Page({
  data: {
      current: 0,
      items: [
          {
              title: '全部',
          },
          {
              title: '待支付',
          },
          {
              title: '待确认',
          },
          {
            title: '带出行',
          },
          {
            title: '已完成',
          },
          {
            title: '售后',
          },
      ],
  },
  onSwipeChange(e) {
      this.setData({
          current: e.detail.current,
      });
  },
  onChange(current) {
      this.setData({
          current,
      });
  },
handleChange(current) {
    this.setData({
        current,
    });
},
onPlus() {
    this.alert('plus');
},
alert(content) {
    my.alert({
        title: content,
    });
},

});

